<?php
	require_once("funcionesBase.php");
	$tabla=$_GET['tabla'];
	$columna=$_GET['columnaAEliminar'];
?>

    <div class="modal-body">

	<div class="alert alert-warning moAlert">
		<p><h3><span class="glyphicon glyphicon-exclamation-sign"></span> Advertencia: </h3><p>
			<p>Estas a punto de eliminar la columna: 
			<em> 
				<div class="well well-sm"> 
                	<strong>
                    	<?php 
						echo $columna;
						?>
                	</strong>
                </div>
			</em>
			</p>
		<p>Si deseas eliminar la columna presiona en el botón Eliminar.</p>
	</div>
      
      
    </div>
    <div class="modal-footer ">
      	<button type="button" class="btn btn-danger" id="confEC">
        	<span class="glyphicon glyphicon-trash"></span>
        	Eliminar
        </button>
        <button type="button" class="btn btn-primary" data-dismiss="modal">
        	<span class="glyphicon glyphicon-remove"></span>
            Cancelar
        </button>
        
    </div>
      
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>	
$( "#confEC" ).mouseup(function() {
	<?php 
	echo '
	var ta= "'.$tabla.'";
	var co= "'.$columna.'";
	$( "#cuerpoMensaje" ).load("elColumna2.php",{ta : ta, co : co});	
	}); ';
	
	?>
</script>
    